<%--
  Created by IntelliJ IDEA.
  User: HuangLiting
  Date: 2018/5/9
  Time: 16:30
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ page isELIgnored="false" %>
<html ng-app="classDetailApp">
<head>
    <meta charset="UTF-8">
    <title>后台管理</title>
    <link rel="stylesheet" type="text/css" href="css/layui.css"/>
    <link rel="stylesheet" type="text/css" href="css/admin.css"/>
    <link rel="stylesheet" type="text/css" href="css/main.css"/>
    <link rel="stylesheet" type="text/css" href="css/houtai.css"/>
    <script type="text/javascript" src="js/libs/modernizr.min.js"></script>
</head>
<body ng-controller="classDetailController">
<jsp:include page="/header.jsp"></jsp:include>
<div class="container clearfix">
    <!--/sidebar-->
    <jsp:include page="/leftBar.jsp"></jsp:include>
    <div class="main-wrap">
        <div class="crumb-wrap">
            <div class="crumb-list"><i class="icon-font"></i><a href="#" color="#white">首页</a>
                <span class="crumb-step">&gt;</span><span class="crumb-name">实验课程信息</span>
                <span class="crumb-step">&gt;</span><span class="crumb-name">课程详情</span></div>
        </div>
        <div class="result-wrap">
            <blockquote class="layui-elem-quote">
               <span ng-bind="class.lessonName" style="font-size: 20px;"></span>
            </blockquote>
            <input type="hidden" value="${cidx}" id="getCid">
            <div class="result-content">
                <form method="post">
                    <table class="insert-tab" width="100%">
                        <tbody>
                        <tr>
                            <th width="120">课程编号：</th>
                            <td ng-bind="class.cid">
                            </td>
                        </tr>
                        <tr>
                            <th width="120">实验名称：</th>
                            <td ng-bind="class.lessonName">
                            </td>
                        </tr>
                        <tr>
                            <th width="120">上课老师：</th>
                            <td ng-bind="class.tname">
                            </td>
                        </tr>
                        <tr>
                            <th width="120">上课地点：</th>
                            <td ng-bind="class.lname">
                            </td>
                        </tr>
                        <tr>
                            <th width="120">上课时间：</th>
                            <td ng-bind="class.classDate+ '  ' + class.classNum+'-'+(class.classNum+class.classLength-1)+'节'">
                            </td>
                        </tr>
                        <tr>
                            <th width="120">实验批次：</th>
                            <td ng-bind="'第'+class.batchNum+'批'">
                            </td>
                        </tr>
                        <tr>
                            <th>申请时间：</th>
                            <td ng-bind="class.applicationTime">
                            </td>
                        </tr>
                        <tr>
                            <th>申请人：</th>
                            <td ng-bind="class.applicationName">
                            </td>
                        </tr>
                        <tr>
                            <th></th>
                            <td>
                                <button class="layui-btn layui-btn-danger" ng-click="deleteClass()">删除</button>
                                <button class="layui-btn layui-btn-primary" ng-click ="backToClassList()">返回</button>
                            </td>
                        </tr>
                        </tbody>
                    </table>
                </form>
            </div>
        </div>
    </div>
    <!--/main-->
</div>
</body>
<script src="js/jquery.min.js"></script>
<script src="js/angular.min.js"></script>
<script src="js/classDetail.js"></script>
<script>

</script>
</html>
